package pablo.developer;



public class Consulta {
	int          idUser,idRoute,idRequest;
	String       origen,destino,fecha,hora,avoid,seatsOffered,maxDelay,smoking,tipoUsuario,maxCost,name,vuelta;
	boolean      encontrado;
	
	public static Consulta getEmpty() {
		return new Consulta("", "", "", "", "", "", "", "", "", "","","",false,0,0,0);
	}
	
	public Consulta(String ori,String des,String fech, String hor, String nam, String avo, String offeredSeats,String costMax,String delayMax,String vu,String fumador,String tipo, boolean enc, int idU,int idRo,int idRe){
		origen             = ori;
		destino            = des;
		fecha              = fech;
		hora               = hor;
		avoid              = avo;
		seatsOffered       = offeredSeats;
		maxDelay           = delayMax;
		maxCost            = costMax;
		name               = nam;
		tipoUsuario        = tipo;
		smoking            = fumador;
		vuelta             = vu;
		encontrado         = enc;
		idUser             = idU;
		idRequest          = idRe;
		idRoute            = idRo;
		encontrado         = enc;
		
	}
	
	public int getIdUser() {
		return idUser;
	}

	public void setIdUser(int idUser) {
		this.idUser = idUser;
	}

	public int getIdRoute() {
		return idRoute;
	}

	public void setIdRoute(int idRoute) {
		this.idRoute = idRoute;
	}

	public int getIdRequest() {
		return idRequest;
	}

	public void setIdRequest(int idRequest) {
		this.idRequest = idRequest;
	}

	public String getOrigen() {
		return origen;
	}

	public void setOrigen(String origen) {
		this.origen = origen;
	}

	public String getDestino() {
		return destino;
	}

	public void setDestino(String destino) {
		this.destino = destino;
	}

	public String getFecha() {
		return fecha;
	}

	public void setFecha(String fecha) {
		this.fecha = fecha;
	}

	public String getHora() {
		return hora;
	}

	public void setHora(String hora) {
		this.hora = hora;
	}

	public String getAvoid() {
		return avoid;
	}

	public void setAvoid(String avoid) {
		this.avoid = avoid;
	}

	public String getSeatsOffered() {
		return seatsOffered;
	}

	public void setSeatsOffered(String seatsOffered) {
		this.seatsOffered = seatsOffered;
	}

	public String getMaxDelay() {
		return maxDelay;
	}

	public void setMaxDelay(String maxDelay) {
		this.maxDelay = maxDelay;
	}

	public String getSmoking() {
		return smoking;
	}

	public void setSmoking(String smoking) {
		this.smoking = smoking;
	}

	public String getTipoUsuario() {
		return tipoUsuario;
	}

	public void setTipoUsuario(String tipoUsuario) {
		this.tipoUsuario = tipoUsuario;
	}

	public String getMaxCost() {
		return maxCost;
	}

	public void setMaxCost(String maxCost) {
		this.maxCost = maxCost;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getVuelta() {
		return vuelta;
	}

	public void setVuelta(String vuelta) {
		this.vuelta = vuelta;
	}

	public boolean getEncontrado() {
		return encontrado;
	}

	public void setEncontrado(boolean encontrado) {
		this.encontrado = encontrado;
	}
}
